package com.bestv.search.common.dao;

import com.bestv.search.common.model.NetInfo;

import java.util.List;

public interface NetInfoDao extends GenericDao<NetInfo, Long> {

    NetInfo getInfoByNetId(String netId);

    NetInfo getInfoByInfoId(long info_id);

    void saveReference(long info_id, long netInfo_id);

    boolean existReference(long info_id, long netInfo_id);

    List<String> getAllName(int start, int limit);

    int getNameCount();

}